let userModel = require('../model/userTable')//引入表

module.exports = {
    add: (list) => {
        return userModel.insertMany(list)
    },
    login: (params) => {
        return userModel.find(params)
    }
}